package fina2.dcs.mail.manager;

import java.util.Date;
import java.util.List;
import java.util.Map;

import fina2.dcs.mail.MailReaderBase;

public interface MailRobot {

	public List<MailReaderBase> createMailReadSessions();

	public Map<MailUser, List<AttachInfo>> readMails(List<MailReaderBase> mailReadSessions, Date date);

	public void connectSender(MailUser mailUser);

	public void sentResponce(String responceString, String subject, String[] cc, String[] bcc, String... to) throws Exception;

	public boolean isConnectedSender();

	public void closeSenderConnection();
}
